package models

var CourseStatus map[int]string

// 学校科目，如语文、数字
type Course struct {
	Id         int64  `orm:"description(自增主键)"`
	Name       string `orm:"description(科目名称)"`
	Status     int    `orm:"description(状态，0禁用 1正常)" json:"-"`
	StatusShow string `orm:"-" json:"-"`
}

func init() {
	CourseStatus = map[int]string{
		0: "禁用",
		1: "正常",
	}
}
